﻿

//--------------------------------------------------------------------------------/
//維護程式 - 離開																  /
//功能:離開維護表單																  /
//函式名稱 = DialogBtnExit_OnClick												  /
//--------------------------------------------------------------------------------/
function AddWithSave(Url)
{ 
	if (confirm('是否帶入舊版本資料?')) 
	{ 
		window.showModalDialog(Url + '&GET_OLD=Y',this,'dialogWidth=800px;dialogHeight=740px;center=yes;border=thin;help=no;status=no;resizable=no;', true);
	}
	else
	{ 
		window.showModalDialog(Url,this,'dialogWidth=800px;dialogHeight=740px;center=yes;border=thin;help=no;status=no;resizable=no;', true); 
	} 
	return false;
}